export default class Temp {

  /**
   * 设置goodState
   * @param {Array<String|Number>} goodState
   */
  setgoodState (goodState) {
    if (goodState) {
      this.goodState = goodState
    }
  }

  /**
   * 添加goodState
   * @param {String|Number} goodState
   */
  addgoodState (goodState) {
    if (goodState) {
      if (this.goodState) {
        this.goodState.push(goodState)
      } else {
        this.goodState = [goodState]
      }
    }
  }
}
